<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//用户模块-账号
Route::post('auth/register', 'AuthController@register');//账号注册
Route::post('auth/regCaptcha', 'AuthController@regCaptcha');//注册验证码
Route::post('auth/login', 'AuthController@login');//账号登录
Route::get('auth/info','AuthController@info'); //用户信息
Route::post('auth/logout','AuthController@logout'); //账号登出
Route::post('auth/profile','AuthController@profile'); //账号修改
Route::post('auth/reset','AuthController@reset'); //账号密码重置
Route::post('auth/captcha','AuthController@regCaptcha'); //验证码

//用户模块-地址
Route::get('address/list','AddressController@list'); //收货地址列表
Route::get('address/detail','AddressController@detail'); //收货地址详情
Route::post('address/save','AddressController@save'); //保存收货地址
Route::post('address/delete','AddressController@delete'); //保存收货地址

//Route::any('home/index','');
//Route::any('catalog/index',''); //分类目录全部分类数据接口
//Route::any('catalog/current',''); //分类目录当前分类数据接口

//Route::any('goods/count',''); //统计商品总数
//Route::any('goods/list',''); //获得商品列表
//Route::any('goods/category',''); //获得分类数据
//Route::any('goods/detail',''); //获得商品的详情
//Route::any('goods/related',''); //商品详情页的关联商品（大家都在看）
//Route::any('brand/list',''); //品牌列表
//Route::any('brand/detail',''); //品牌详情
//Route::any('cart/index',''); //获取购物车的数据
//Route::any('cart/add',''); //
//Route::any('cart/fastadd',''); //
//Route::any('cart/update',''); //
//Route::any('cart/delete',''); //
//Route::any('cart/checked',''); //
//Route::any('cart/goodscount',''); //
//Route::any('cart/checkout',''); //
//Route::any('collect/list',''); //收藏列表
//Route::any('collect/addordelete',''); //添加或取消收藏
//Route::any('topic/list',''); //专题列表
//Route::any('topic/detail',''); //专题详情
//Route::any('topic/related',''); //相关专题
//Route::any('order/submit',''); //
//Route::any('order/prepay',''); //
//Route::any('order/h5pay','');
//Route::any('order/list',''); //订单列表
//Route::any('order/detail',''); //订单详情
//Route::any('order/cancel',''); //取消订单
//Route::any('order/refund',''); //退款取消订单
//Route::any('order/delete',''); //删除订单
//Route::any('order/confirm',''); //确认收货
//Route::any('feedback/submit',''); //添加反馈
//Route::any('groupon/list',''); //团购列表
//Route::any('coupon/list',''); //优惠券列表
//Route::any('coupon/mylist',''); //我的优惠券列表
//Route::any('coupon/selectlist',''); //当前订单可用优惠券列表
//Route::any('coupon/receive',''); //优惠券领取
//Route::any('user/index',''); //个人页面用户相关信息
//Route::any('issue/list',''); //帮助信息
